<template>
  <div>
    <userManage />
  </div>
</template>

<script>
import userManage from "./userManage/user.vue";
// import roleManage from "./roleManage/role.vue";
// import personnelManage from "./personnelManage/personnel.vue";
// import recordList from "./recordList/recordList.vue";
// import businessConfig from './businessConfig/index.vue';
// import businessList from './businessList/index.vue';
import { tabList } from "./data"

export default {
  name: "tabList",
  components: {
    userManage
    // roleManage,
    // personnelManage,
    // recordList,
    // businessConfig,
    // businessList
  },
  data() {
    return {
      tabList
    };
  },
  computed: {
    activeKey() {
      return +this.$route.query.key || 1;
    }
  },
  destroyed() {
    // 清空usrTab
    sessionStorage.removeItem('userTab')
    this.$store.state.account.userTab = null
  }
};
</script>

<style lang="less" scoped></style>
